<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>疫情追踪</title>
    <script>

    </script>
</head>
<body>
    <h1>疫情追踪</h1>
    <h3>实时报道</h3>
    <button>点我有惊喜</button>
    <div>
        ashajsadsdsdsdsdsdsd
        <br>
        shuahsiasisasadadsddd
    </div>
<script src="static/js/jquery-3.1.1.js"></script>
<script>
    $("button").click(function () {
        $.ajax({
            url: "update",
            type: "post",
            data: {"name": "张亚飞", "score": 88},
            success:function (res) {
                $('h3').html("中国加油" + res);
            },
            error:function () {
                alert("请求失败");
            }
        })
    })
</script>
</body>
</html>